package com.vlin.device.value.converter.defaut;

import com.vlin.device.value.converter.AbstractParamValueConverter;
import com.vlin.device.value.converter.ConditionAndConverter;
import com.vlin.device.value.converter.ConditionManager;

public class DefaultParamValueConverter extends AbstractParamValueConverter {
	
	private ConditionManager manager = new DefaultConditionManager();
	
	private ConditionAndConverter converter = new DefaultConditionAndConverter();

	@Override
	public ConditionManager getConditionManager() {
		
		return this.manager;
	}

	@Override
	public void setConditionManager(ConditionManager conditionManager) {
		if(conditionManager != null)
			this.manager = conditionManager;
	}

	@Override
	public void setConditionAndConverter(ConditionAndConverter conditionAndConverter) {
		if(conditionAndConverter != null)
			this.converter = conditionAndConverter;
		
	}

	@Override
	public ConditionAndConverter getConditionAndConverter() {
		
		return this.converter;
	}



}
